package com.codingfuture.erp_system.service;

import com.codingfuture.erp_system.entity.Supplier;

import java.util.List;

public interface SupplierService {
    List<Supplier> findByAll();

    List<Supplier> findByAll(Supplier supplier);

    boolean insertSupplier(Supplier supplier);

    boolean deleteSupplier(Integer id);

    Supplier findById(Integer id);

    boolean updateSupplier(Supplier supplier);

    Supplier findByName(String name);
}
